package cn.bgs.serviceedu.dao;

import cn.bgs.serviceedu.entity.Doctor;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 医生表 Mapper 接口
 * </p>
 *
 * @author YiChen
 * @since 2021-10-20
 */
@Mapper
public interface DoctorMapper extends BaseMapper<Doctor> {

    List<Doctor> getListTop();

    List<Doctor> listDoc(@Param(Constants.WRAPPER) Wrapper<Doctor> wrapper);

    List<Doctor> findDoct(Integer customerId);
}
